<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Name       : Reckoning
Description: A two-column, fixed-width design for 1024x768 screen resolutions.
Version    : 1.0
Released   : 20090629

-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Reckoning by Free CSS Templates</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>

<p id="notice"><%= notice %></p>
<!--
<p>
  <b>Box Manager:</b>
  <%= @user_setting.boxmanager_id %>
</p>

<p>
  <b>Load Box:</b>
  <%= @user_setting.loadbox_id %>
</p>

<p>
  <b>Algorithm:</b>
  <%= @user_setting.algorithm_id %>
</p>
-->
<p>
  <b>Consumption Preference:</b>
  <%=   if @user_setting.consumption_preference ==1
			%{Maximum Efficiency   }
		elsif @user_setting.consumption_preference ==2
			%{Efficient w/ 100% Green Power  }
		elsif @user_setting.consumption_preference ==3
			%{Efficient w/ 60% Green Power  }
		elsif @user_setting.consumption_preference ==4
			%{Efficient w/ 30% Green Power  }
		elsif @user_setting.consumption_preference ==5
			%{Minimum Efficiency   }
		elsif @user_setting.consumption_preference ==6
			%{Efficient w/o Green Power  }
		end %>
</p>

<p>
  <b>Utility Control Level:</b>
  <%=   if @user_setting.utility_control_lvl ==4
			%{No Control   }
		elsif @user_setting.utility_control_lvl ==3
			%{Control Over Priority 3   }
		elsif @user_setting.utility_control_lvl ==2
			%{Control Over Priority 2 & 3   }
		elsif @user_setting.utility_control_lvl ==1
			%{Full Control   }
		end %>
</p>

<%= link_to 'Edit', edit_user_setting_path(@user_setting) %> |
<%= link_to 'Back', dashboard_path %>

</body>
</html>
